package com.xxx.modules.service;
import com.github.pagehelper.PageInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xxx.modules.entity.News;

/**
 * news
 *
 * @author Mark sunlightcs@gmail.com
 * @since 1.0.0 2023-02-11
 */
public interface NewsService extends IService<News>{

    PageInfo<News> selectNewsInfo(News news, Integer pageNum, Integer pageSize);

    void saveNewsInfo(News news);

    void updateNewsInfo(News news);

    void delNewsInfo(Integer id);

    void delBatchNewsInfo(String idList);


}